<?php
include 'connect.php';


$isSignedIn=true;
//check if user if signed in
if(isset($_SESSION['signed_in']) && $_SESSION['signed_in'] == true)
{
	//unset all variables
	$_SESSION['signed_in'] = NULL;
	$_SESSION['user_name'] = NULL;
	$_SESSION['user_id']   = NULL;


}
else
{
    $isSignedIn=false;
}

include 'header.php';
$smarty->assign('isSignedIn', $isSignedIn);
$smarty->display('signout.tpl');
?>